package com.food.foodapi.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 92110
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("food_user")
public class User {
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    @TableField("username")
    private String username;
    @TableField("password")
    private String password;
    @TableField("nickname")
    private String nickname;
    @TableField("avatar")
    private String avatar;
    @TableField("create_time")
    private String createTime;
    @TableField("update_time")
    private String updateTime;
}
